<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>file page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <div th:include="common :: common-jquery"></div>
    <div th:include="common :: common-bootstrap"></div>
</head>
<body>
<div  th:id="container" >
    <p th:text="'Hello, ' + ${record}" />

    <div class="row">
        <div class="col-md-4 col-sm-4"></div>
        <div class="col-md-4 col-sm-4">
            <h2> FastDFS 文件上传</h2>
            <form th:action="@{/file/upload}" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <input type="file" name="file" id="exampleInputFile">
                </div>
                <button type="submit" class="btn btn-default">上传</button>
            </form>
        </div>
        <div class="col-md-4 col-sm-4"></div>
    </div>

    <div class="row">
        <div class="col-md-4 col-sm-4"></div>
        <div class="col-md-4 col-sm-4">
            <h2>文件上传2</h2>
            <form th:action="@{/file/upload2}" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <input type="file" name="file" id="exampleInputFile2">
                </div>
                <button type="submit" class="btn btn-default">上传</button>
            </form>
        </div>
        <div class="col-md-4 col-sm-4"></div>
    </div>

</div>
</body>
</html>
